package com.tistory.credit.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.tistory.common.vo.CommonReq;
import com.tistory.credit.vo.CreditDetailInfo;
import com.tistory.credit.vo.CreditReq;
import com.tistory.credit.vo.CreditRes;

public interface CreditDao {
	public List<CreditRes> getCreditMainList(CommonReq req) throws SQLException;	
	
	public Integer getCreditMainListCount(CommonReq req) throws SQLException;
	
	public Integer insertCreditInfo(List<CreditReq>creditList) throws SQLException;
	
	public Integer insertCreditCardInfo(List<CreditReq>creditList) throws SQLException;
	
	public List<CreditReq> getCardSumList(String userId) throws SQLException;	
	
	public List<CreditReq> getWithDrawInfoList(CommonReq req) throws SQLException;	
	
	public List<CreditDetailInfo> getWithDrawDetailInfoList(CommonReq req) throws SQLException;
	
	public List<CreditReq> getCardWithDrawDetailInfo(Map<String,Object> map) throws SQLException;	
	
	public List<CreditReq> getCardBillDetailInfoList(Map<String,Object> map) throws SQLException;
	
	public List<CreditReq> getCardBillSeperateDetailInfo(Map<String,Object> map) throws SQLException;	
	
	public Integer deleteCreditInfo(Map<String,Object> map) throws SQLException;
	
	public Integer insertCreditRealCardInfo(List<CreditReq>creditList) throws SQLException;
	
	public Integer insertCreditRealBankInfo(List<CreditReq>creditList) throws SQLException;
	
	public List<CreditReq> getMinusListDetailInfo(Map<String,Object> map) throws SQLException;	
	
	public void insertPay(Map<String,Object> map) throws SQLException;
	
	public CreditReq getMinusDetailInfo(Map<String,Object> map) throws SQLException;	
	
	public List<CreditRes> getRealBankList(CommonReq req) throws SQLException;		
	
	public List<CreditReq> getCardFeeDetailInfo(Map<String,Object> map) throws SQLException;	
	
	public List<CreditReq> getMinusPayList(CommonReq req) throws SQLException;	
	
	public void updateChangeData(Map<String,Object> map) throws SQLException;
	
	public List<CreditReq> getPayProecssList(CommonReq req) throws SQLException;	
}
